﻿using VisualWip.Core.Interfaces;

namespace VisualWip.Core
{
    public class StaticPathSelector : IPathSelector
    {
        private readonly ISettingsPath _settingsPath;

        public StaticPathSelector(ISettingsPath settingsPath)
        {
            _settingsPath = settingsPath;
        }

        #region IPathSelector Members

        public PathSelectorResult OpenSelector()
        {
            return new PathSelectorResult(true, _settingsPath);
        }

        public PathSelectorResult SaveSelector()
        {
            return new PathSelectorResult(true, _settingsPath);
        }

        public string DefaultExtension { get; set; }
        public string Filter { get; set; }

        public string DefaultName { get; set; }

        #endregion
    }
}